package com.oak.designmode._02_strategy;

/**
 * 运算类
 *
 * @ClassName: Operaton
 * @Description
 * @Author guoxy
 * @Date 2019/12/4 0004
 * @Version 1.0
 */
public interface Operation {

    /**
     * 做运算
     * @param a
     * @param b
     * @return
     * @throws Exception
     */
    int doCalculate(int a, int b) throws Exception;
}
